projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b28bf0
)
* comp.el: (native-compile-async) do not duplicate queue entries
author
Andrea Corallo
<akrl@sdf.org>
Sun, 15 Mar 2020 21:07:14 +0000
(21:07 +0000)
committer
Andrea Corallo
<akrl@sdf.org>
Mon, 16 Mar 2020 22:56:36 +0000
(22:56 +0000)
lisp/emacs-lisp/comp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/comp.el
b/lisp/emacs-lisp/comp.el
index 68d3b8b2c7321f4eb1cd7eaf339d861c5f1a9730..c00a68307b097e3247634007a83eda037a45b686 100644
(file)
--- a/
lisp/emacs-lisp/comp.el
+++ b/
lisp/emacs-lisp/comp.el
@@
-2229,7
+2229,8
@@
of given directories."
((file-exists-p path) (push path files))
(t (signal 'native-compiler-error
(list "Path not a file nor directory" path)))))
- (setf comp-files-queue (nconc files comp-files-queue))
+ (dolist (file files)
+ (add-to-list 'comp-files-queue file t))
(when (zerop (comp-async-runnings))
(comp-run-async-workers))
(message "Compilation started.")))